
package com.eastmountain.chinese.gui;

import java.awt.Dimension;
import java.io.File;

import javax.swing.JFileChooser;

import com.eastmountain.chinese.gui.controllers.FileChooserAccessoryPanel;

@SuppressWarnings("serial")
public class FileChooser extends JFileChooser {

    //private FileChooserAccessoryPanel fileChooserAccessoryPanel;

    public static final String FLASHCARD_LIST     =  "Flashcard List";
    public static final String REVIEW_LIST        = "Review List";
    public static final String CHARACTER_WORD_XRF = "Character/Word XRF";

    public FileChooser() {
        
        this( JFileChooser.OPEN_DIALOG, "Missing title" );
        
    }

    public FileChooser( int dialogType, String dialogTitle ) {

        setCurrentDirectory( new File( "." ) );
        setDialogType( dialogType );
        setDialogTitle( dialogTitle );

        setFileSelectionMode( JFileChooser.FILES_AND_DIRECTORIES );

    }

}
